翻訳と辞書
Words near each other
・ Parsian, Iran
・ Parsiana
・ Parsie Jahani
・ Parsifal
・ Parsifal (1904 film)
・ Parsifal (1982 film)
・ Parsifal (disambiguation)
・ Parsifal (record label)
・ Parsifal (train)
・ Parsifal bell
・ Parsifal discography
・ Parsigutta
・ Parsik Hill
・ Parsinah Rural District
・ Parsing
Parsing expression grammar
・ Parsippany Christian School
・ Parsippany High School
・ Parsippany Hills High School
・ Parsippany-Troy Hills School District
・ Parsippany-Troy Hills, New Jersey
・ Parsissaet
・ Parsix
・ Parsiye Jahani
・ Parski
・ Parski, Kuyavian-Pomeranian Voivodeship
・ Parski, Łódź Voivodeship
・ Parsko
・ Parsko, Greater Poland Voivodeship
・ Parsko, West Pomeranian Voivodeship


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Parsing expression grammar : ウィキペディア英語版
Parsing expression grammar
In computer science, a parsing expression grammar, or PEG, is a type of analytic formal grammar, i.e. it describes a formal language in terms of a set of rules for recognizing strings in the language. The formalism was introduced by Bryan Ford in 2004〔
〕 and is closely related to the family of top-down parsing languages introduced in the early 1970s.
Syntactically, PEGs also look similar to context-free grammars (CFGs), but they have a different interpretation: the choice operator selects the first match in PEG, while it is ambiguous in CFG. This is closer to how string recognition tends to be done in practice, e.g. by a recursive descent parser.
Unlike CFGs, PEGs cannot be ambiguous; if a string parses, it has exactly one valid parse tree. It is conjectured that there exist context-free languages that cannot be parsed by a PEG, but this is not yet proven.〔 PEGs are well-suited to parsing computer languages, but not natural languages where their performance is comparable to general CFG algorithms such as the Earley algorithm.〔

== Definition ==


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Parsing expression grammar」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.